package com.liuzu.esys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Settlement {

    private Integer order_number;//订单号

    private Integer id;//商品ID

    private String name;//商品名称

    private Double price;//商品单价

    private Integer buy_num;//购买数量

    private Double pay_money;//支付金额


    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    @JsonFormat(pattern = "yyyy-MM-dd ")
    private Date settlement_date;//结算时间

    private Boolean settlement_status;//结算状态
}
